<?php

namespace app\api\validate;
use think\Validate;

class Monitor  extends Validate
{
    protected $rule = [
        'Advertising_id'  =>  'require|number',
        'user_id' =>  'require|number'
    ];
    protected $message = [
        'Advertising_id.require'  =>  '广告ID参数为空',
        'Advertising_id.number' =>  '广告ID参数不正确',
        'user_id.require'  =>  '用户ID参数为空',
        'user_id.number' =>  '用户ID参数不正确',
    ];
}